package cn.tedu.csmall.server.repo.impl;

import cn.tedu.csmall.server.repo.ICategoryRepository;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

// @Scope("singleton")  //单例
@Scope("prototype")     //非单例
@Repository
public class CategoryRepositoryImpl implements ICategoryRepository {

    public CategoryRepositoryImpl() {
        System.out.println("类别数据访问层对象：CategoryRepositoryImpl");
    }

}
